﻿//创建时间: 2010-10-14
//创建作者: 李晓忠
//功能说明: CMS系统 结点树
//最后修改: 2010-10-14
using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using TRPOP.Common;
using TRPOP.CMS.Web.UI;

using TRPOP.CMS.Business;
using TRPOP.CMS.Model;

namespace TRPOP.CMS.Web.Admin
{
    public partial class SelNodeTree : BaseAdmin
    {
        #region 页面变量
        protected int m_intParentId = 0;
        #endregion

        #region 页面事件

        protected void Page_Load(object sender, EventArgs e)
        {
            m_intParentId = RequestHelper.RequestInt("pid",0);
            if (!IsPostBack)
            {
                LoadBase();
                LoadData();
            }
           
        }      
        #endregion

        #region 页面方法

        public void LoadBase()
        {
            List<NodeInfoWithLevel> m_NodeListTree = (new NodeManage()).GetNodeListTree(m_intParentId, 0, "", true);
            rptList.DataSource = m_NodeListTree;
            rptList.DataBind();
        }
        /// <summary>
        /// 加载所有参数类型的的链接页面
        /// </summary>
        public void LoadData()
        {

        }
        #endregion
    }
}
